package com.abe.abetest.alarm;

import com.abe.abetest.R;
import com.abe.libbase.base.BaseActivity;

public class AlarmOpenActivity extends BaseActivity {
    @Override
    public void init() {
        findViewById(R.id.item_btn).setOnClickListener(view -> runOnUiThread(() -> AlarmHelper.setAlarm(AlarmOpenActivity.this, 1000, 10, 5, 5, "123", "{data:234}")));
        findViewById(R.id.item_btn_cancel).setOnClickListener(view -> runOnUiThread(() -> AlarmHelper.deleteAlarm(AlarmOpenActivity.this, 1000)));
    }

    @Override
    protected int getLayoutRes() {
        return R.layout.activity_open_alarm;
    }
}